package InvestmentPojo;

import javax.servlet.http.*;
import org.apache.struts.action.*;

public class InvestorAction extends Action {

		public ActionForward execute(ActionMapping mapping, ActionForm form,
				HttpServletRequest request, HttpServletResponse response) throws Exception
		{
			String outputval=request.getParameter("output");
			System.out.println(outputval+";;;;;;;;;;;;;;;;;;;sasldas;;;;;;;;;;;sl;a");
			if(outputval.equals("qest8")){
					request.setAttribute("entityval", "24");
			}else{
				request.setAttribute("entityval", "12");
			}
			return mapping.findForward("success");
		}
	}